package com.lleice.service.service.sys.impl;

import java.util.List;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lleice.service.entity.sys.SysUserDepartment;
import com.lleice.service.mapper.sys.SysUserDepartmentMapper;
import com.lleice.service.service.sys.ISysUserDepartmentService;

/**
 * <p>
 * 用户机构关联表 服务实现类
 * </p>
 *
 * @author lizihao
 * @since 2020-11-18
 */
@Service
public class SysUserDepartmentServiceImpl extends ServiceImpl<SysUserDepartmentMapper, SysUserDepartment> implements ISysUserDepartmentService {

	@Override
	public List<Long> getUserDepatmentList(Long userId) {
		return this.baseMapper.getUserDepatmentList(userId);
	}

}
